home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
oper_sys
/
amber
/
amber.lha
/
Defs.h
< prev
next >
Wrap
C/C++ Source or Header
|
1991-04-25
|
711b
|
28 lines
#ifndef _defs_h
#define _defs_h
typedef void *Objany;
#ifndef cc
typedef void (*PFany)(...);
typedef int (*PFIany)(...);
extern void FatalError();
extern void Error(char *s);
extern void Panic(char *s);
extern void perr(char *s);
extern int gethostname(char *,int );
extern void AmberEntry_Init(int *, int *, int *);
extern void AmberEntry_StartNode(int, int, int, int);
extern void AmberEntry_RunNode(int );
extern void P(int );
extern void AmberEntry_SlaveInit(char *, int);
extern void pout(...);
extern void disable_preemption();
extern void enable_preemption();
#include <osfcn.h>
#endif cc
#define DEFQUANTUM 0 /* default quantum, milliseconds */
#define MasterNode 1
#define HostLen 32
#endif _defs_h